package fina2.dcs.metadata;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "IN_DEFINITION_TABLES")
@SuppressWarnings("serial")
public class Definition implements Serializable {
	private BigDecimal id;
	private String code;
	private BigDecimal definitionId;
	private BigDecimal nodeId;
	private BigDecimal nodeVisible;
	private BigDecimal visibleLevel;
	private BigDecimal type;
	private BigDecimal evalType;

	@Column(name = "ID")
	public BigDecimal getId() {
		return id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	@Id
	@Column(name = "CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "DEFINITIONID")
	public BigDecimal getDefinitionId() {
		return definitionId;
	}

	public void setDefinitionId(BigDecimal definitionId) {
		this.definitionId = definitionId;
	}

	@Column(name = "NODEID")
	public BigDecimal getNodeId() {
		return nodeId;
	}

	public void setNodeId(BigDecimal nodeId) {
		this.nodeId = nodeId;
	}

	@Column(name = "NODEVISIBLE")
	public BigDecimal getNodeVisible() {
		return nodeVisible;
	}

	public void setNodeVisible(BigDecimal nodeVisible) {
		this.nodeVisible = nodeVisible;
	}

	@Column(name = "VISIBLELEVEL")
	public BigDecimal getVisibleLevel() {
		return visibleLevel;
	}

	public void setVisibleLevel(BigDecimal visibleLevel) {
		this.visibleLevel = visibleLevel;
	}

	@Column(name = "TYPE")
	public BigDecimal getType() {
		return type;
	}

	public void setType(BigDecimal type) {
		this.type = type;
	}

	@Column(name = "EVALTYPE")
	public BigDecimal getEvalType() {
		return evalType;
	}

	public void setEvalType(BigDecimal evalType) {
		this.evalType = evalType;
	}

}
